<php>
$SubjectNav=array(
	'index'=>array(
		'text'=>'班级首页',
		'url'=>'Subject/index',
		'icon'=>'icon-icon-12',
	    'color'=>'style="color:#00c0ff"',
	),
	'lesson'=>array(
		'text'=>'课程表',
		'url'=>'Subject/lesson',
		'icon'=>'icon-icon-13',
	'color'=>'style="color:#00d449"',
	),
	'tiku'=>array(
		'text'=>'答题练习',
		'url'=>'Subject/tiku',
		'icon'=>'icon-icon-14',
	'color'=>'style="color:#C96338"',
	),
	'note'=>array(
		'text'=>'笔记',
		'url'=>'Subject/note',
		'icon'=>'icon-icon-15',
	'color'=>'style="color:#C96338"',
	),
	'question'=>array(
		'text'=>'答疑',
		'url'=>'Subject/question',
		'icon'=>'icon-icon-16',
	'color'=>'style="color:#6DA552"',
	),
 'offline'=>array(
		'text'=>'线下班级',
		'url'=>'Subject/offline_select_record',
		'icon'=>'icon-icon-17',
	'color'=>'style="color:#00c0ff"',
	),
	'guide'=>array(
		'text'=>'报考指南',
		'url'=>'Subject/guide',
		'icon'=>'icon-icon-10',
	'color'=>'style="color:#B50000"',
	),
);
</php>
<if condition="($is_mobile  and $subject_nav eq 'index') or ($is_mobile eq false)">
				<div class="sortlist clearfix" style="margin-bottom:20px">
						<ul class="unstyled nav-class">
								<volist name="SubjectNav" id="vo">
								<li class="item <if condition="$subject_nav eq $key">on</if>" > <a href="<{:U($vo['url'],array('subjectid'=>$subjectid))}>">
	<i  <if condition="$is_mobile"><{$vo.color}></if> class="icon glyphicon <{$vo['icon']}>"></i><span ><{$vo.text}></span></a> </li>
							</volist>	
						</ul>
				</div>
</if>